package com.doeis.uwork.bean;

import java.sql.Timestamp;

import com.doeis.minaserver.bean.BasicBean;
import com.voland.core.validator.NotNull;

public class MessageIn extends BasicBean {
	
//	@NotNull(message="接受人员不能为空")
	private String to_user_ids;
	private String cc_user_ids;
	@NotNull(message="发送人为空")
	private String user_id;
	@NotNull(message="截止时间不能为空")
	private Long countdown;
	@NotNull(message="发送内容为空")
	private String content;
	private Timestamp scene_time;//相应时间
	
	@NotNull(message="场景为空")
	private int scene_type;
	private String scene_id;//场景关联编号
	
	private String img;
	private String start;//
	private String count;
	
	
	public Timestamp getScene_time() {
		return scene_time;
	}
	public void setScene_time(Timestamp scene_time) {
		this.scene_time = scene_time;
	}
	public String getScene_id() {
		return scene_id;
	}
	public void setScene_id(String scene_id) {
		this.scene_id = scene_id;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getTo_user_ids() {
		return to_user_ids;
	}
	public void setTo_user_ids(String to_user_ids) {
		this.to_user_ids = to_user_ids;
	}
	public String getCc_user_ids() {
		return cc_user_ids;
	}
	public void setCc_user_ids(String cc_user_ids) {
		this.cc_user_ids = cc_user_ids;
	}
	public String getUser_id() {
		return user_id;
	}
	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}
	public Long getCountdown() {
		return countdown;
	}
	public void setCountdown(Long countdown) {
		this.countdown = countdown;
	}
	public String getContent() {
//		try {
//			return URLDecoder.decode(this.content,"utf-8");
//		} catch (UnsupportedEncodingException e) {
//			return content;
//		}
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getScene_type() {
		return scene_type;
	}
	public void setScene_type(int scene_type) {
		this.scene_type = scene_type;
	}
	public String getStart() {
		return start;
	}
	public void setStart(String start) {
		this.start = start;
	}
	public String getCount() {
		return count;
	}
	public void setCount(String count) {
		this.count = count;
	}
}
